/*
 * Created on 06.02.2004
 * Local Projects Database
 * Mihai Postelnicu (mihai@ro-gateway.org)
 * (c) 2003 by eRomania Gateway
 */
package ro.gateway.aida.obj;

import ro.gateway.aida.db.PersistentObject;
import ro.xblue.translator.TransItem;


/**
 * @author Mihai Postelnicu<p>
 *
 *  e-mail (mihai@ro-gateway.org)<br>
 * (c) 2003 by eRomania Gateway<p>
 */
public class BreadCrumb implements PersistentObject {
    private String label;
    private String parentLabel;
    private String url;
    private TransItem trn;

    public BreadCrumb() {
        label="";
        parentLabel="";
    }

    public BreadCrumb(String label,String parentLabel) {
        this.label=label;
        this.parentLabel=parentLabel;
    }

    
    /**
     * @return
     */
    public TransItem getTrn() {
        return trn;
    }

    /**
     * @param item
     */
    public void setTrn(TransItem item) {
        trn = item;
    }

    /**
     * @return
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param string
     */
    public void setUrl(String string) {
        url = string;
    }

    public static final String LIST = "BreadCrumbs_LIST";
	public static final String CURRENT = "BreadCrumbs_CURRENT";
	/**
	 * @return Returns the label.
	 */
	public String getLabel() {
		return label;
	}
	/**
	 * @param label The label to set.
	 */
	public void setLabel(String label) {
		this.label = label;
	}
	/**
	 * @return Returns the parentLabel.
	 */
	public String getParentLabel() {
		return parentLabel;
	}
	/**
	 * @param parentLabel The parentLabel to set.
	 */
	public void setParentLabel(String parentLabel) {
		this.parentLabel = parentLabel;
	}
}
